package com.zxy.fmmall.service;

import com.zxy.fmmall.entity.Orders;
import com.zxy.fmmall.vo.ResultVo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface OrdersService {
    public Map<String,String> addOrders(Orders orders, String cartId);

    int updateOrderStatus(String orderId, String status);

    public ResultVo getOrderById(String orderId);

    void closeTimeOutJob(String orderId);

    public ResultVo getOrderByUserId(String userId,String status, int pageNum,int limit);
}
